package client;

import java.io.*;

import java.net.*;
import java.sql.*;



public class AtmClient {

		public static void main(String args[]) {
			try {
				Socket s1 = new Socket("127.0.0.1", 5433);
			
				InputStream is = s1.getInputStream();
				BufferedReader br = new BufferedReader(new InputStreamReader(is));
				System.out.println(br.readLine());
				br.close();
				s1.close();
			} catch (ConnectException connExc) {
				System.err.println("Could not connect.");
			} catch (IOException e) {
				e.printStackTrace();
			}
		}
	}


